package com.atguigu.gulimail.auth.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author fangy
 * @date 2022-10-05 22:05
 */
@FeignClient("gulimail-third-party")
public interface ThirdPartyopenFeignService {

    @RequestMapping("/send/sms")
    R sendSms(@RequestParam("phone") String phone, @RequestParam("code") String code);

}
